package com.teama4.shop.service;

import com.teama4.shop.domain.EvaluatePic;
import com.teama4.shop.domain.EvaluatePicExample;
import com.teama4.shop.domain.EvaluateUserSpeComExt;
import com.teama4.shop.mapper.EvaluatePicMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EvaluatePicServiceImpl implements EvaluatePicService {

    @Autowired
    private EvaluatePicMapper evaluatePicMapper;

    @Override
    public long countByExample(EvaluatePicExample example) {
        return evaluatePicMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(EvaluatePicExample example) {
        return evaluatePicMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer evaluatePicId) {
        return evaluatePicMapper.deleteByPrimaryKey(evaluatePicId);
    }

    @Override
    public int insert(EvaluatePic record) {
        return evaluatePicMapper.insert(record);
    }

    @Override
    public int insertSelective(EvaluatePic record) {
        return evaluatePicMapper.insertSelective(record);
    }

    @Override
    public List<EvaluatePic> selectByExample(EvaluatePicExample example) {
        return evaluatePicMapper.selectByExample(example);
    }

    @Override
    public EvaluatePic selectByPrimaryKey(Integer evaluatePicId) {
        return evaluatePicMapper.selectByPrimaryKey(evaluatePicId);
    }

    @Override
    public int updateByExampleSelective(EvaluatePic record, EvaluatePicExample example) {
        return evaluatePicMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(EvaluatePic record, EvaluatePicExample example) {
        return evaluatePicMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(EvaluatePic record) {
        return evaluatePicMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(EvaluatePic record) {
        return evaluatePicMapper.updateByPrimaryKey(record);
    }

}
